<b>Поиск студентов</b>
<table width="300" cellspacing="1" cellpadding="1">
  <tr>
    <td>
    <?php echo $this->Form->create('Searche', array('action' =>'findstudents')); ?>
    
    </td>
    
  </tr>
  <tr>
  <td>Специальность</td> 
  <td><?php
		echo $this->Form->input('profession_id', array('empty' => 'Выберите факультет', 'label' => ''));
	  ?>
  </td>
  </tr>
  <tr>
  <td>Курс</td> 
  <td>
     <?php
		echo $this->Form->input('course_id', array('label' => ''));
		$this->Js->get('#SearcheProfessionId');
		$this->Js->event('change', $this->Js->request(array('controller'=>'searches', 'action'=>'update_course'), 
		array(
				'update'=>'#SearcheCourseId',
				'async' => true,
				'method' => 'Post',
				'dataExpression'=>true,
				'data'=> $this->Js->serializeForm(array('isForm' => true,'inline' => true))
		)));
	 ?>
  </td>
  </tr>
  <tr>
  <td>Группа</td> 
  <td>
    <?php
		echo $this->Form->input('studentgroup_id', array('label' => ''));
		$this->Js->get('#SearcheCourseId');
		$this->Js->event('change', $this->Js->request(array('controller'=>'searches', 'action'=>'update_studentgroup'), 
		array(
				'update'=>'#SearcheStudentgroupId',
				'async' => true,
				'method' => 'Post',
				'dataExpression'=>true,
				'data'=> $this->Js->serializeForm(array('isForm' => true,'inline' => true))
		)));
	?>
	</td>
    </tr>
     
    <tr>
    <td>Тип обучения</td> 
     <td>
    <?php
		echo $this->Form->input('learningtype_id', array('empty' => 'Выберите тип обучения', 'label' => ''));	
	?></td>
	</tr>
  <tr>
  <td>№ дела</td>  
  <td><?php echo $this->Form->input('studentid', array('label' => ''));?></td>  
  </tr>
   <tr>
  <td>ФИО</td>  
  <td><?php echo $this->Form->input('fio', array('label' => ''));?></td>  
  </tr>
   <tr>
  <td>ФИО на английском</td>  
  <td><?php echo $this->Form->input('engfio', array('label' => ''));?></td>  
  </tr>
  <tr>
   
    <td><?php echo $this->Form->end('Найти'); ?> </td>
  </tr>
</table>